home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
3D GFX
/
3D GFX.iso
/
amiutils
/
m_p
/
picview
/
install
< prev
next >
Wrap
Text File
|
1995-12-30
|
3KB
|
112 lines
(SET @default-dest "Work:")
(SET default_lang 0)
(SET #needKick (CAT "\n'PicView' need Kickstart Version 39 at least." ) )
(SET #startMsg (CAT "\nWelcom to 'PicView' !\n\n"
"This script installs 'PicView' on your AMIGA.\n\n") )
(SET #destPrompt "Please choose the destination directory for 'PicView'.")
(SET #copyPFiles "Copying program files")
(SET #langPrompt "Select the languages you wish to use with 'PicView'.")
(SET #DocPrompt "Select the directory for the documentation file.")
(SET #exitMsg (CAT "Much fun with 'PicView' wish you\n\n"
"Holger Papajewski" ) )
; ******************* deutsche Texte *****************************
(IF (= @language "deutsch")
(
(SET default_lang 1)
(SET #needKick ( CAT "\n'PicView' ben÷tigt mindestens die Kickstart-Version 39." ) )
(SET #startMsg (CAT "\nWillkommen bei 'PicView' !\n\n"
"Diese Datei installiert 'PicView' auf ihrem AMIGA.\n\n") )
(SET #destPrompt "WΣhlen Sie bitte das Zielverzeichnis fⁿr 'PicView'" )
(SET #copyPFiles "Kopiere Programmdateien")
(SET #langPrompt "WΣhlen Sie die Sprachen, die Sie mit 'PicView' benutzen wollen.")
(SET #DocPrompt "WΣhlen Sie ein Verzeichnis, in welches die Dokumentation kopiert werden soll.")
(SET #exitMsg (CAT "Viel Spa▀ mit 'PicView' wⁿnscht\n\n"
"Holger Papajewski" ) )
))
; *************** Hier beginnt die Installation ******************
(if (< (/ (GETVERSION) 65536) 39)
(ABORT #needKick)
)
(MESSAGE #startMsg)
(SET @default-dest
(ASKDIR (PROMPT #destPrompt)
(HELP askdir-help)
(DEFAULT @default-dest )))
(COPYFILES (SOURCE "PicView")
(HELP copyfiles-help)
(DEST @default-dest )
(INFOS)
)
(SET sprachen (ASKOPTIONS (PROMPT #langPrompt)
(HELP askoptions-help)
(CHOICES "english"
"deutsch"
"norsk"
"polski" )
(DEFAULT (+ default_lang 1) )
)
)
(if (IN sprachen 1)
(COPYFILES (SOURCE "Locale/deutsch/PicView.catalog")
(DEST "Locale:Catalogs/deutsch") )
)
(if (IN sprachen 2)
(COPYFILES (SOURCE "Locale/norsk/PicView.catalog")
(DEST "Locale:Catalogs/norsk") )
)
(if (IN sprachen 3)
(COPYFILES (SOURCE "Locale/polski/PicView.catalog")
(DEST "Locale:Catalogs/polski") )
)
(SET @DocDir
(ASKDIR (PROMPT #DocPrompt)
(HELP askdir-help)
(DEFAULT @default-dest)
(NEWPATH)
)
)
(if (= @language "english")
(SET SDocDir "Docs/english")
)
(if (= @language "deutsch")
(SET SDocDir "Docs/deutsch")
)
(COPYFILES (SOURCE SDocDir)
(DEST @DocDir)
(ALL)
)
(EXIT #exitMsg )